package com.backend.werewolfkillingbackend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
@TableName("room")
public class Room implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer Id;

    @TableField(value = "room_name")
    private String roomName;

    @TableField(value = "room_owner")
    private String roomOwner;

    @TableField(value = "game_status")
    private Integer gameStatus;

    @TableField(value = "player_count")
    private Integer playerCount;

    @TableField(value = "player_list")
    private String playerList;
}
